﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

using CSF.BusinessCore.Data;

namespace CSF.Sales.Data
{
    /// <summary>
    /// Author：Robin
    /// Create Date：2011-9-14
    /// 文章数据类
    /// </summary>
    public class Article : Transaction
    {
        /// <summary>
        /// 文章类型id（即栏目id）
        /// </summary>
        public int ArticleTypeId { get; set; }

        /// <summary>
        /// 网店id
        /// </summary>
        public int ApplicationId { get; set; }

        /// <summary>
        /// 文章分类id
        /// </summary>
        public int? ArticleCategoryId { get; set; }

        /// <summary>
        /// 第一种语言的文章标题
        /// </summary>
        public string Headline1 { get; set; }

        /// <summary>
        /// 第二种语言的文章标题
        /// </summary>
        public string Headline2 { get; set; }

        /// <summary>
        /// 第三种语言的文章标题
        /// </summary>
        public string Headline3 { get; set; }

        /// <summary>
        /// 第一种语言的文章内容
        /// </summary>
        public string Body1 { get; set; }

        /// <summary>
        /// 第二种语言的文章内容
        /// </summary>
        public string Body2 { get; set; }

        /// <summary>
        /// 第三种语言的文章内容
        /// </summary>
        public string Body3 { get; set; }

        /// <summary>
        /// 过期日期
        /// </summary>
        public DateTime? ExpiryDate { get; set; }

        /// <summary>
        /// 附件的路径
        /// </summary>
        public string Attachment { get; set; }

        /// <summary>
        /// 是否仅为附件，没有内容
        /// </summary>
        public bool IsAttachOnly { get; set; }

        /// <summary>
        /// 是否仅为一个链接
        /// </summary>
        public bool IsLink { get; set; }

        /// <summary>
        /// 链接路径
        /// </summary>
        public string LinkUrl { get; set; }

        /// <summary>
        /// 是否公开的
        /// </summary>
        public bool IsPublic { get; set; }

        public string Photo { get; set; }

        public string PhotoLarge { get; set; }
    }
}
